#ifndef __sys_H
#define __sys_H

#include <STC12C5A60S2.h>
#include <intrins.h>

#define  u8 unsigned char
#define  u32 unsigned long int 
#define  u16 unsigned int 
	

void delay_ms(u16 ms);
void Delay1us();		//@11.0592MHz
void Delay10us();		//@11.0592MHz
void Delay100us();		//@11.0592MHz
void Delay1ms();	
void Delay10ms();
void Delay100ms();

void UART_init(void);//串口初始化
void UARTSend(char UCHAR);//发送数据到串口
void UART_PutString(u8 *buf );//发送字符串


#endif 